package com.comac.print.component.app;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author  yy
 */
@SpringBootApplication(scanBasePackages = { "com.comac.print.component.app",
        "com.alibaba.cola",
        "cc.comac.common",
        "cc.comac.techfoundation",
        "com.comac.mom.simpleintegration.mq",
        "com.comac.mom.simpleintegration.reids",
        "com.comac.mom.simpleintegration.oss"})
@MapperScan({"com.comac.print.component.app.gatewayimpl.database", "com.comac.print.component.app.mapper"})
@EnableDiscoveryClient
@EnableAsync
public class PrintManagerAppApplication {

    public static void main(String[] args) {
        SpringApplication.run(PrintManagerAppApplication.class, args);
    }
}
